<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <h2>用户注册1111222</h2>
    <form action="" method="post" enctype="multipart/form-data">
        用户名：<input type="text" name="username" value="tom" readonly disabled> <br>
        邮箱：<input type="text" name="email" placeholder="请输入邮箱"> <br>
        密码：<input type="password" name="password" placeholder="请输入密码"> <br>
        性别：<input type="radio" name="sex" value="male" checked>男  
             <input type="radio" name="sex" value="female">女 <br>
        爱好：<input type="checkbox" name="hobbies" value="eat">吃饭
             <input type="checkbox" name="hobbies" value="sleep" checked>睡觉
             <input type="checkbox" name="hobbies" value="game">打游戏 <br>
        头像：<input type="file" name="avatar" accept=".jpg, .png"> <br>
        学历：<select name="degree">
                <option value="0">--请选择学历--</option>
                <option value="1">大专</option>
                <option value="2" selected>本科</option>
                <option value="3">研究生</option>
                <option value="4">博士</option>
             </select> <br>
        个人简介：<textarea name="info" rows="10" cols="35"></textarea>
        <input type="hidden" name="id" value="9527"> <br>

             <input type="submit" value="注  册"> 
             <input type="reset" value="重  置">
             <input type="button" value="普通按钮">
    </form>
</body>
</html>